﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BiliBiliCSharpStudy.old {
    class TypeOfDemo {
        public static void demo() {
            //typeof(int).GetMethods()
            Type typeInt = typeof(int);
            System.Reflection.MethodInfo[] methodInfos = typeInt.GetMethods();
            foreach (var m in methodInfos) {
                Console.WriteLine(m.Name);
            }
            Console.WriteLine(methodInfos.Length);
        }
    }
}
